package com.powernode.service;

import com.powernode.model.CartItem;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface CartItemService {

    CartItem addToCart(Long id);

    List<CartItem> getAll();

    void updateCount(Long id, Integer count);

    void checked(Long id, boolean checked);

    void checkAll(boolean checked);

    void deleteById(Long id);

    void deleteAll();
}
